<template>
  <div class="apply">
    <Navigation :logoName="logoName" :routeInfo="routeInfo"></Navigation>
    <div class="formContent">
      
        <Detail :basicInfos="basicInfos"></Detail>
        <p class="line"><span class="title">仲裁规则文书<a @click="ruledoc(basicInfo.secretaryReview&&basicInfo.secretaryReview.rulesInstrument)"><icon class="connectAddr"></icon>附件链接</a></span></p>
        <p class="line"><span class="title">仲裁申请书<a @click="ruledoc(basicInfo.secretaryReview&&basicInfo.secretaryReview.applicationArbitration)"><icon class="connectAddr"></icon>附件链接</a></span></p>
        <p class="line"><span class="title">应诉通知书<a @click="ruledoc(basicInfo.secretaryReview&&basicInfo.secretaryReview.noticeRespondingAction)"><icon class="connectAddr"></icon>附件链接</a></span></p>
        <p class="line"><span class="title">裁决书<a @click="ruledoc(basicInfo.secretaryReview&&basicInfo.secretaryReview.award)"><icon class="connectAddr"></icon>附件链接</a></span></p>
        <div class="show">
          <div class="btn-sty">
            <span class="btn btn-apply" @click="back">返回</span>
          </div>
        </div>
      
    </div>
    
  </div>
</template>

<script>
import Navigation from '../common/navigation'
import Detail from '../common/detail'
export default {
  name: 'ArbitratorVerifyDetail',
  data(){
     return {
        logoName:'详情',
        routeInfo:'首页/统计分析/详情',
        applyINfo:false,
        unapplyINfo:false,
        basicInfo:{},
        basicInfos:this.$route.params.caseno,
        evidence:[]
     }
  },
  props: {
    msg: String
  },
  methods:{
    ruledoc(param){
      if(param){
        window.open(param)
      }else{
        this.$Message.warning('文件为空');
      }
    },
    back(){
      this.$router.push('/StaticAnalysis/index')
    },
    detail(){
      
    },
    cancel(){

    },
    handleSubmit () {
      
    },
    applyIN(){
      this.applyINfo=!this.applyINfo;
    },
    unapplyIN(){
      this.unapplyINfo=!this.unapplyINfo;
    }
  },
  components:{Navigation,Detail},
  created(){
    this.$http.post('/api2'+this.urls.getCaseDetail,{caseNo:this.$route.params.caseno}).then((result)=>{
          if(result.data.code==200){
              this.basicInfo=result.data.data;
          }
    })
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  .show{
    margin:0 20px;
    /* padding-top: 30px; */
  }
  label{
    color:#000;
  }
  .line{
    margin-bottom: 16px;
  }
  
</style>
